-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functionality to wait till mongo container becomes available #80
Conversation
Tests are failing because of:
for all python versions, it might have been a connection issue to Docker Hub, rerequesting the build run |
@tillahoffmann , any chance you can rerun the travis build? I can't seem to kick it off, hopefully the image pull issue is fixed |
@smparekh, I don't have the privileges to restart a build, unfortunately. Force-pushing may retrigger the build, however. |
Not sure why build is failing on travis, I ran the tests locally for python 3.7 as a sanity check and the test in question passes:
in fact all tests pass:
|
@tillahoffmann, was finally able to build and test via Travis, if you could take a look that would be great. |
Replicates the wait functionality available in the redis module, during the use of current version ran into an issue with mongo:4 where it was taking a little longer to start the container before pytest ran the unit tests. Currently, I have had to add code to wait for log statements as such:
but I believe the container should wait on start for it to finish spawning.